//

// (  )
//

package com.tools.acceleratecore.logic.accelerate.process.impl;

import android.content.Context;
import com.tools.acceleratecore.AccelerateCoreFactory;
import com.tools.acceleratecore.logic.accelerate.process.intf.IProcessKiller;
import com.tools.acceleratecore.xlib.util.UtilProcess;

public class ProcessKillerNormal implements IProcessKiller {
    private Context mContext = null;
    private String mPackageName = null;

    public ProcessKillerNormal() {
        this.mContext = AccelerateCoreFactory.getApplication();
        this._init();
    }

    private void _init() {
    }

    public boolean kill() {
        return UtilProcess.killBackgroundProcess(this.mContext, this.mPackageName);
    }

    public void setPackageName(String strPackageName) {
        this.mPackageName = strPackageName;
    }
}
